package com.macro.mall.mapper;

import com.macro.mall.model.BasicKeyTopicMid;
import com.macro.mall.model.BasicKeyTopicMidExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BasicKeyTopicMidMapper {
    long countByExample(BasicKeyTopicMidExample example);

    int deleteByExample(BasicKeyTopicMidExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BasicKeyTopicMid record);

    int insertSelective(BasicKeyTopicMid record);

    List<BasicKeyTopicMid> selectByExample(BasicKeyTopicMidExample example);

    BasicKeyTopicMid selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") BasicKeyTopicMid record, @Param("example") BasicKeyTopicMidExample example);

    int updateByExample(@Param("record") BasicKeyTopicMid record, @Param("example") BasicKeyTopicMidExample example);

    int updateByPrimaryKeySelective(BasicKeyTopicMid record);

    int updateByPrimaryKey(BasicKeyTopicMid record);
}